package com.zofer.study.factory.abstractfactory;

/**
 * 套餐B工厂 可乐 + 大蛋糕
 */
public class PackageBFactory implements Factory{

    public Drink createDrink() {
        System.out.println("已制作好矿泉水");
        return new MineralWater();
    }

    public Cake createCake() {
        System.out.println("已制作好大蛋糕");
        return new BigCake();
    }
}
